﻿using hyjx.comm.Types;

namespace Hyjx.MixerService.Configs
{
    /// <summary>
    /// 物料编码配置
    /// </summary>
    public class MaterialCodeConfig
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; } = string.Empty;
        /// <summary>
        /// 赣锋编码值
        /// </summary>
        public short GanFengValue { get; set; }
        /// <summary>
        /// 红运编码值
        /// </summary>
        public short HongYunValue { get; set; }
        /// <summary>
        /// 公差下限地址
        /// </summary>
        public string ToleranceLowerLimitAddress { get; set; } = string.Empty;
        /// <summary>
        /// 公差上限地址
        /// </summary>
        public string ToleranceUpperLimitAddress { get; set; } = string.Empty;
        /// <summary>
        /// PLC 功用类型
        /// </summary>
        public PlcFeatureTypes? FeatureType { get; set; }
    }
}
